import * as actions from '../actionTypes/'

const common = (state = {}, action) => {
    switch (action.type) {
        case actions.TOGGLE_DISPLAY_TOAST:
            return {
                ...state,
                ...action.payload,
            }
        default:
            return state
    }
}

export default common



// WEBPACK FOOTER //
// ./src/reducers/common.js